package com.guoxue.init;
import javax.annotation.Resource;
import org.springframework.beans.factory.InitializingBean;

import com.guoxue.util.CheckForStaticResources;
import com.guoxue.util.CleanThread;
import com.guoxue.util.PushMessage;

public class InitBean implements InitializingBean  {
	@Resource
	private CleanThread cleanThread;
	@Resource
	private PushMessage pushMessage;
	@Resource
	private CheckForStaticResources checkForStaticResources;
	@Override
	public void afterPropertiesSet() throws Exception {
		cleanThread.start();
		checkForStaticResources.start();
		pushMessage.start();
	}
	
}
